package com.xu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.scheduling.annotation.EnableScheduling;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author anan
 * @create 2021-12-24 20:57
 */
@SpringBootApplication
@MapperScan(basePackages = "com.xu.mapper") //扫描mybatis通用的包所在的位置；
@ComponentScan(basePackages = {"com.xu", "org.n3r.idworker"})
@EnableScheduling
public class Appication {
    public static void main(String[] args) {
        SpringApplication.run(Appication.class,args);
    }
}
